package restaurant.selector;

import java.sql.Date;

public class Restaurant {

	public static final int WEATHER_CLEAR = 0x01;
	public static final int WEATHER_RAIN = 0x02;
	public static final int WEATHER_SNOW = 0x04;
	public static final int WEATHER_COLD = 0x08;
	public static final int WEATHER_ALL = WEATHER_CLEAR | WEATHER_RAIN | WEATHER_SNOW | WEATHER_COLD;
	
	private int id;
	private int weather;
	private String name;
	private Date startDate;
	private Date endDate;
	private Date startTime;
	private Date endTime;
	private int distance;
	private boolean quick;
	
	private static String[] places = {
		"LaRoma's",
		"Greasy Tony's",
		"Coalyard Charlie's",
		"Denny's",
		"Dirty Tony's",
		"Karam's",
		"China House",
		"Mazzaferro's",
		"DeMateo's",
		"Taco Bell",
		"Arby's",
		"Friendly's",
		"Mayflower",
		"Mitsuba's",
		"Sumo's",
		"Mark's House",
		"Super 8 Buffet",
		"King's Buffet",
		"Burger King",
		"Sam's Eats",
		"Nicky Doodles",
		"Applebees",
		"McDonald's",
		"Grande's",
		"BBQ's",
		"Wendy's",
		"KFC",
		"Dunkin Donuts",
		"Dippin Donuts",
		"Teddy's",
		"Pizza Hut",
		"Subway",
		"Big Daddy's",
		"Price Chopper",
		"Espresso's",
		"The Garage",
		"The Colonial",
		"The Franklin",
		"Bucky's"
	};
	
	public Restaurant() {
		super();
	}
	
	public Restaurant(int id, int weather, String name, Date startDate,
			Date endDate, Date startTime, Date endTime,
			int distance, boolean quick) {

		this.id = id;
		this.weather = weather;
		this.name = name;
		this.startDate = startDate;
		this.endDate = endDate;
		this.startTime = startTime;
		this.endTime = endTime;
		this.distance = distance;
		this.quick = quick;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getWeather() {
		return weather;
	}

	public void setWeather(int weather) {
		this.weather = weather;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}

	public boolean isQuick() {
		return quick;
	}

	public void setQuick(boolean quick) {
		this.quick = quick;
	}

	public String toString(){
		return name;
	}
}
